

#ifndef _SHELL_REQLJLOGIN_MESSAGE_H_
#define _SHELL_REQLJLOGIN_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqLJLoginMessage : public Message
{
	public:
	ReqLJLoginMessage();
	~ReqLJLoginMessage();
	void reset();
	ReqLJLoginMessage* clone();
	static const int _ID;
	//渠道类型
	int8 type;
	//渠道编码
	std::string channel;
	//用户id
	std::string userId;
	//登录令牌
	std::string token;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
